#ifndef SKELETONANIMATIONMANAGER_H_
#define SKELETONANIMATIONMANAGER_H_
#include "SkeletonAnimation.h"
#include "Bone.h"
#include "KeyedList.h"

class SkeletonAnimationManager
{
	KeyedList<SkeletonAnimation> * keyedSkeletonAnimationList;
	SkeletonAnimation * currentSkeletonAnimation;

public:
	SkeletonAnimationManager();
	SkeletonAnimationManager(KeyedList<SkeletonAnimation> * keyedSkeletonAnimationList,
							 SkeletonAnimation * currentSkeletonAnimation);
	~SkeletonAnimationManager(); 
	bool SetAnimation(Bone * head, char * animationName);
	void SetNextPose(Bone * head);
	bool LoadFromFile(char * fileName);
	void Add(char * key, SkeletonAnimation * animation);
};
#endif /*SKELETONANIMATIONMANAGER_H_*/
